<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="html" uri="/struts-tags"%>
<%@ taglib uri="/struts-dojo-tags" prefix="sx"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../css/theme0.css" rel="stylesheet" type="text/css" />
<html:head theme="xhtml" />
<sx:head parseContent="true" extraLocales="UTF-8" />
<title>添加人力资源信息</title>
</head>
<body>
<div id="main"><%@ include file="../Header.jsp"%>
<div id="middle"><c:import url="../Navigation.jsp"></c:import>
<div id="center-column">
<div class="top-bar"><a
	href="../SystemManagement/logoutAction.action" class="button">退出</a>
<h1>首页</h1>
<div class="breadcrumbs"> <a
	href="../SystemManagement/Home.jsp">首页</a>&nbsp;/添加人力资源信息</div>
</div>
<br />
<div class="select-bar"><label><input type="text"
	name="textfield" /></label> <label><input type="submit" name="Submit"
	value="Search" /></label></div>
<p align="center">${requestScope.info}</p>

<div class="table"><img src="images/bg-th-left.gif" width="8"
	height="7" alt="" class="left" /> <img src="images/bg-th-right.gif"
	width="7" height="7" alt="" class="right">
 <html:form
	name="form" action="AddHRRecordAction"
	namespace="/pages/HRRecordsManagement" method="post" validate="true">

	<table class="listing form" cellpadding="0" cellspacing="0">
		<tr>
			<th class="full" colspan="3">人力资源信息，*为必填选项</th>
		</tr>
		<tr>
			
			<td class="first">姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名:</td>
			<td class="last"><input type="text" name="human.humanName"
				size="30" /></td>
			<td class="last">*中文姓名或英文姓名</td>
		</tr>
		<tr>
			
			<td class="first">性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别:</td>
			<td class="last"><input type="radio" name="human.gender"
				value="男" size="21" checked />男 <input type="radio"
				name="human.gender" value="女" size="21" />女</td>
			<td class="last">*必选</td>
		</tr>

		<tr>
			
			<td class="first">邮&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;箱:</td>
			<td class="last"><input type="text" name="human.email"
				maxlength="20" size="30" /></td>
			<td></td>

		</tr>
		<tr>
			
			<td class="first">电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话:</td>
			<td class="last"><input type="text" name="human.phone" size="30"
				maxlength="11" /></td>
			<td></td>
		</tr>
		<tr>
			
			<td class="first">住&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址:</td>
			<td class="last"><input type="text" name="human.address"
				size="30" /></td>
			<td class="last">详细住址</td>
		</tr>
		<tr>			
			<td class="first">邮&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;编:</td>
			<td class="last"><input type="text" name="human.zip"
				maxlength="10" size="30" /></td>
			<td></td>
		</tr>
		<tr>			
			<td class="first">身份证号:</td>
			<td class="last"><input type="text" name="human.idNumber"
				size="30" maxlength="18" /></td>
			<td class="last">*必填，18位</td>
		</tr>
		<tr>
			<td class="first">银行账号:</td>
			<td class="last"><input type="text" name="human.account"
				size="30" maxlength="20" /></td>
			<td class="last">*工商银行账号</td>
		</tr>
		<tr>		
			<td class="first">生&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日:</td>
			<td class="last"><sx:datetimepicker name="human.birthdate"
				value="today" displayFormat="yyyy-MM-dd" weekStartsOn="0"
				language="UTF-8"></sx:datetimepicker></td>
			<td></td>
		</tr>
		<tr>			
			<td class="first">学历背景:</td>
			<td class="last"><input type="text" name="human.education"
				size="30" /></td>
			<td></td>
		</tr>

		<tr>			
			<td class="first">职&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;位:</td>
			<td class="last"><select name="human.positionId">
				<c:forEach items="${requestScope.positions}" var="position">
					<option value="<c:out value="${position.positionId}" />">
					<c:out value="${position.positionName}" /></option>
				</c:forEach>
			</select></td>
			<td class="last">*必选</td>
		</tr>


		<tr>
			<td class="first">部&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;门:</td>
			<td class="last"><select name="human.departmentId">
				<c:forEach items="${requestScope.departments}" var="department">
					<option value="<c:out value="${department.departmentId}" />">
					<c:out value="${department.departmentName}" /></option>
				</c:forEach>
			</select></td>
			<td class="last">*必选</td>
		</tr>
		<tr>
		    <td class="first">职&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称:</td>
			<td class="last"><select name="human.titleId">
				<c:forEach items="${requestScope.titles}" var="title">
					<option value="<c:out value="${title.titleId}" />"><c:out
						value="${title.titleName}" /></option>
				</c:forEach>
			</select></td>
			<td class="last">*必选</td>
		</tr>
		<tr>
			
			<td class="first">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注:</td>
			<td class="last"><textarea rows="5" cols="50" 
				name="human.remark"></textarea></td>
			<td></td>
		</tr>

	</table>
	<input id="Submit" class="button" type="submit" value="提交" />
	<input id="Reset" class="button" type="reset" value="重置" />

</html:form></div>

</div>
<%@ include file="../Toolkit.jsp"%></div>
<%@ include file="../Footer.jsp"%></div>
</body>
</html>